package com.euond.permission.service;

import com.euond.common.core.dto.ResultDto;
import com.euond.common.core.service.BaseService;
import com.euond.permission.entities.Menu;

import java.util.Map;

/**
 * Created by Daniel on 19/06/2017.
 * Menu service
 */
public interface MenuService extends BaseService<Menu>{

    /**
     * 获取指定项目菜单
     * @param projectId
     * @param companyId
     * @param userId
     * @return
     */
    public ResultDto findMenus(Long projectId,  Long companyId,Long userId) ;

    /**
     * 按项目查找未分配菜单的资源
     * @param searchParams
     * @return
     */
    public ResultDto findNotAllotMenuResources(Map<String,Object> searchParams);
}
